package com.agentai.framework.websocket;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @Author yangfei
 * @Description
 * @Date 2024/5/21 11:10
 */
@Data
@Component
@ConfigurationProperties(prefix = "websocket-netty")
public class WebSocketConfig {
    private int port; // 监听端口
    private String path; // 请求路径
    private int boss; // bossGroup线程数
    private int work; // workGroup线程数
    private boolean authEnabled; //是否验证token
}
